<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.w3.org/1999/xhtml">
<head>
    <meta charset="UTF-8">
    <title>OAuth2授权登录页面</title>
</head>
<body>
    <h1>OAuth2授权登录页面</h1>
<!--由于没有实体可以封装.这里用get请求了,反正就两个参数-->
    <form action="/authorizationGetCode" method="get">
        <table>
            <tbody>
                <tr>
                    <td>
                        <span>用户名:</span>
                    </td>
                    <td>
                        <input type="text" name="username">
                    </td>
                </tr>
                <tr>
                    <td>
                        <span>密码:</span>
                    </td>
                    <td>
                        <input type="password" name="password">
                    </td>
                </tr>
                <tr>
                    <td>
                        <input type="submit" value="授权登录">
                    </td>
                </tr>
                <tr>
                    <td>
                        <span style="color: red" th:text="${fail}"></span>
                    </td>
                </tr>
            </tbody>
        </table>
    </form>
</body>
</html>